package xyz.lxbq.service;

import org.apache.ibatis.annotations.Param;
import xyz.lxbq.pojo.Major;

import java.util.List;

/**
 * @author XuHu
 * @version 1.0
 * @date 2020/10/19 13:43
 */
public interface MajorService {
    /**
     * 获取所有班级
     */
    List<Major> getMajor(@Param("pagestart") int pagestart, @Param("pageSize") int pageSize);

    int addMajor(Major major);

    int countMajor();

    int deleteById(int id);

    List<Major> getName();


}
